home *** CD-ROM | disk | FTP | other *** search
/ Ray Dream Studio / Ray Dream Studio (CDRAYD1) (Ray Dream) (1995).iso / DREAMSDK.WIN / INCLUDE / I3DEXTBH.H < prev    next >
C/C++ Source or Header  |  1995-09-17  |  2KB  |  57 lines

  1. /* $Id: I3DEXTBH.H 1.2 1995/09/15 17:36:54 PascalF Exp $ */
  2. /*****************************************************************************\
  3. *                                                                             *
  4. * I3DExTBh.h -     I3DExTreeBehavior definition                                              *
  5. *                                                                             *
  6. *           Copyright (c) 1995, Ray Dream, Inc. All rights reserved.          *
  7. *                                                                             *
  8. \*****************************************************************************/
  9.  
  10. #ifndef __I3DEXTBH__
  11. #define __I3DEXTBH__
  12.  
  13. #ifndef __I3DEX__
  14. #include "I3DEx.h"
  15. #endif
  16.  
  17. #ifndef __I3DSHTRE__
  18. #include "I3DShTre.h"
  19. #endif
  20.  
  21. //****** Globally Unique Ids *************************************************
  22.  
  23. DEFINE_GUID(IID_I3DExTreeBehavior, 0x5C9601A1L, 0x7CC3, 0x101C, 0x88, 0x5F, 0x04, 0x02, 0x1C, 0x00, 0x70, 0x02);
  24.  
  25. /*****************************************************************************\
  26. *  I3DExTreeBehavior                                                          *
  27. *                                                                             *
  28. *  Tree Elements Behavior                                                     *
  29. *                                                                             *
  30. \*****************************************************************************/
  31.  
  32. #undef  INTERFACE
  33. #define INTERFACE   I3DExTreeBehavior
  34.  
  35. DECLARE_INTERFACE_(I3DExTreeBehavior, I3DExDataExchanger) {
  36.     // IUnknown methods
  37.   STDMETHOD(QueryInterface) (THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
  38.   STDMETHOD_(ULONG, AddRef) (THIS) PURE;
  39.   STDMETHOD_(ULONG, Release) (THIS) PURE;
  40.   
  41.     // I3DExtension methods
  42.     STDMETHOD_(I3DExtension*, Clone) (THIS) PURE;
  43.     STDMETHOD(ShellUtilitiesInit) (THIS_ IShUtilities* shellUtilities) PURE;
  44.  
  45.   // I3DExDataExchanger methods
  46.     STDMETHOD_(ExtensionDataMap*, GetExtensionDataMap) (THIS) PURE;
  47.     STDMETHOD_(void*, GetExtensionDataBuffer) (THIS) PURE;
  48.   STDMETHOD(ExtensionDataChanged) (THIS) PURE;
  49.   STDMETHOD(HandleEvent) (THIS_ ULONG sourceID) PURE;
  50.     STDMETHOD_(short, GetResID) (THIS) PURE;
  51.   
  52.   // I3DExTreeBehavior methods
  53.     STDMETHOD(Apply) (THIS_ I3DShTreeElement* tree) PURE;
  54.     };
  55.  
  56. #endif
  57.